package com.chianghao.rock.admin.system.dictionary.dto;

import javax.validation.constraints.NotNull;

import com.chianghao.core.web.ValidatedGroup;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description="字典信息")
public class DictionaryDto {


	@NotNull(groups = {ValidatedGroup.Modify.class,ValidatedGroup.Add.class},message="error:code,not.null")
	@ApiModelProperty("字典编号")
	private java.lang.String code;
	
	
	@NotNull(groups = {ValidatedGroup.Modify.class,ValidatedGroup.Add.class},message="error:name,not.null")
	@ApiModelProperty("字典名称")
	private java.lang.String name;
	

	

	public java.lang.String getCode() {
		return code;
	}

	public void setCode(java.lang.String code) {
		this.code = code;
	}

	public java.lang.String getName() {
		return name;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	
	
	
}
